package com.dyys.samples.extra.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dyys.extension.extra.ExtraEntity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Setter
@Getter
@ToString
@TableName("m_user")
public class User extends ExtraEntity {
	private static final long serialVersionUID = 5567431318851273856L;

	@TableId(type = IdType.AUTO)
	private Long id = null;
	@TableLogic
	protected int deleted = 0;
	
	@TableField("login_name")
	private  String loginName;	// 邮箱，同时做用户登录名
	private  String password;
	private  String name;	// 用户真实名
	private  String email;	// 邮箱，同时做用户登录名
	private  String mobile;		// 联系电话
	private  String description;
	private  byte[] remark;

}